func go/types.inNode

16 uses

	go/types (current package)
		call.go#L39: 		instErrPos = inNode(ix.orig, ix.lbrack)
		call.go#L211: 			check.errorf(inNode(call, call.Rparen), WrongArgCount, "missing argument in conversion to %s", T)
		call.go#L498: 				check.errorf(inNode(call, call.Ellipsis), InvalidDotDotDot, "cannot use ... with %d-valued %s", nargs, call.Args[0])
		call.go#L525: 			check.errorf(inNode(call, call.Ellipsis), NonVariadicDotDotDot, "cannot use ... in call to non-variadic %s", call.Fun)
		call.go#L564: 				check.versionErrorf(inNode(call.Fun, ix.lbrack), go1_18, "function instantiation")
		call.go#L566: 				check.versionErrorf(inNode(call, call.Lparen), go1_18, "implicit function instantiation")
		errors.go#L283: func inNode(node ast.Node, pos token.Pos) posSpan {
		index.go#L351: 		check.error(inNode(e, e.Rbrack), InvalidSyntaxTree, "2nd and 3rd index required in 3-index slice")
		literals.go#L243: 				check.errorf(inNode(e, e.Rbrace), InvalidStructLit, "too few values in struct literal of type %s%s", base, hint)
		stmt.go#L471: 		if elem := check.chanElem(inNode(s, s.Arrow), &ch, false); elem != nil {
		stmt.go#L483: 			check.errorf(inNode(s, s.TokPos), InvalidSyntaxTree, "unknown inc/dec operation %s", s.Tok)
		stmt.go#L512: 				check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs)
		stmt.go#L521: 				check.errorf(inNode(s, s.TokPos), MultiValAssignOp, "assignment operation %s requires single-valued expressions", s.Tok)
		stmt.go#L864: 		check.rangeStmt(inner, s, inNode(s, tokPos), s.Key, s.Value, nil, s.X, s.Tok == token.DEFINE)
		typexpr.go#L277: 		check.verifyVersionf(inNode(e, ix.lbrack), go1_18, "type instantiation")
		util.go#L47: func argErrPos(call *ast.CallExpr) positioner { return inNode(call, call.Rparen) }